package com.wuzhi.shop.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 注册到nacos:
 * 1. 添加标签
 * 2. 在bootstrap中注册发现；加载配置中心的配置；
 *
 */


@EnableDiscoveryClient
@SpringBootApplication
public class ShopGatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(ShopGatewayApplication.class, args);
    }

}
